﻿<%<hi:common_header runat="server" />%>

<div class="main" id="main1">
    <script src="http://res.juseshop.com/utility/cloud-zoom.1.0.2.js" type="text/javascript"></script>
    <link href="http://res.juseshop.com/utility/cloud-zoom.css" rel="stylesheet" type="text/css" media="screen" />

    <div id="divshow" class="dialog">
        <div class="dialog_title">
            <div class="dialog_title_l"><span>成功添加到购物车</span></div>
            <div class="dialog_title_r"></div>
        </div>
        <div class="dialog_cartitem">
            <p>目前选购商品共<span id="spcounttype">0</span>件　合计：<span>￥<span id="sptotal">0.00</span></span>元</p>
            <div class="btnbar"><a class="btn-viewcart" href="#" target="_self"></a><a class="btn-continue"></a></div>
        </div>
    </div>

    <div id="divbefore" class="dialog">
        <div class="dialog_title">
            <div class="dialog_title_l"><span>添加到购物车</span></div>
        </div>
        <div class="dialog_cartitem">正在添加到购物车……</div>
    </div>


    <div class="login_tan" id="loginForBuy" style="display: none;">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td colspan="4">
                    <table class="loginForBuytit" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td width="400">
                                <h2>您尚未登录，请登录</h2>
                            </td>
                            <td width="39">
                                <p>
                                    <img id="imgCloseLogin" src="http://image.juseshop.com/images/sub/close2.jpg" width="25" height="24" />
                                </p>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td colspan="4">&nbsp;</td>
            </tr>
            <tr>
                <td width="25" valign="middle" w>&nbsp;</td>
                <td valign="middle" width="65" class="fB">用户名：</td>
                <td width="250" valign="middle">
                    <label>
                        <input type="text" name="textfield" id="textfieldusername" class="login_tan_input1" />
                    </label>
                </td>
                <td valign="middle" width="104">&nbsp;</td>
            </tr>
            <tr>
                <td height="45" valign="middle">&nbsp;</td>
                <td valign="middle" class="fB">密　码：</td>
                <td valign="middle">
                    <input type="password" name="textfield2" id="textfieldpassword" class="login_tan_input2" />
                </td>
                <td valign="middle"><a href="url:ForgotPassword">忘记密码了?</a></td>
            </tr>
            <tr>
                <td colspan="4">
                    <table>
                        <tr>
                            <td width="85" valign="middle">&nbsp;</td>
                            <td width="140">
                                <label>
                                    <input type="button" name="button" id="btnLoginAndBuy" value=" " class="login_tan_input3" />
                                </label>
                            </td>
                            <td width="79" align="center"><a href="url:register">我要注册</a></td>
                            <td width="135">
                                <input id="btnAmoBuy" type="button" value="匿名购买" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>




    <a name="top_name" id="top1"></a>
    <div class="nav_info"><%<hi:common_location runat="server" />%></div>


    <div style="height: 5px; overflow: hidden; clear: both;"></div>

    <div class="product_frame w1200 o-hidden">
        <div class="category_l">

            <div class="category_list" style="margin-bottom: 10px; display: none;">
                <h2>所有商品分类</h2>
                <ul>
                    <%
                    <hi:common_productcategorylist templatefile="/ascx/tags/Skin-Common_ProductCategoryList.ascx" runat="server" />%>
                </ul>
            </div>


            <div class="category_browse" style="margin-top: 0px;">
                <h2>相关商品</h2>
                <ul>
                    <%
                    <hi:common_goodslist_correlative templatefile="/ascx/tags/Common_GoodsList/Skin-Common_GoodsList_Correlative.ascx" maxnum="5" runat="server" />%>
                </ul>
            </div>

            <div class="category_browse">
                <h2>浏览过的商品</h2>
                <ul>
                    <%
                    <hi:common_goodslist_browsed maxnum="4" runat="server" />%>
                </ul>
            </div>

            <div class="cate_ad">
                <hi:common_customad runat="server" adid="498" />
            </div>

        </div>
        <div class="category_r">



            <div style="width: 980px; overflow: hidden;">
                <div class="product_preview">
                    <%<hi:common_productimages id="images" is410image="true" is60image="true" runat="server" />%>
                    <div>
                        <hi:common_productimagealbum id="hlinkmoreImage" imageurl="http://image.juseshop.com/images/more_img_icon.jpg" runat="server" />
                    </div>
                </div>
                <div class="product_parameter">
                    <table cellpadding="0" cellspacing="0" border="0" width="550">
                        <tr class="product_para_name">
                            <td id="bfdProductTitle"><%<asp:literal id="litProductName" runat="server" />%></td>
                        </tr>
                        <tr class="product_para2">
                            <td>
                                <div style="width: 550px"><%<hi:rankpricename pricename="售&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;价" runat="server" />%>：<b>￥<span><%<asp:label id="lblBuyPrice" runat="server" />%></span></b></div>
                                <div>市&nbsp;&nbsp;场&nbsp;&nbsp;价：<del>￥<%<hi:formatedmoneylabel id="lblMarkerPrice" runat="server" />%></del></div>
                                <div style="display: none;">品牌：<span id="bfdBrand"><%<asp:literal id="litBrand" runat="server" />%></span></div>
                                <div>商品编号：<span id="bfdProductCode"><%<asp:literal runat="server" id="lblProductCode" />%></span></div>
                                <div style="display: none;">商品货号：<span><%<hi:skulabel runat="server" id="lblSku" />%></span></div>
                                <div>浏览次数：<span><%<asp:literal id="litBrosedNum" runat="server" />%> 次</span></div>
                                <div style="display: none;">重量：<span><%<asp:label id="litWeight" runat="server" />%></span></div>
                                <div>已经出售：<span><%<asp:literal id="litSaleCounts" runat="server" />%></span></div>
                            </td>
                        </tr>
                        <tr class="product_para_select">
                            <td>
                                <%<hi:skuselector runat="server" cssclass="Product_WareFun_bg" />%>
                                <div class="product_para_num">
                                    购买数量：<%<hi:buyamountbox id="txtBuyAmount" cssclass="Product_input" runat="server"></hi:buyamountbox>%><em>
                                        商品总价：<span>
                                            ￥<span>
                                                <%<hi:totallabel id="lblTotalPrice" runat="server" />
                                                %>
                                            </span>
                                        </span>(库存：<%<hi:stocklabel id="lblStock" runat="server" />%><%<asp:literal id="litUnit" runat="server" />%>)
                                    </em>

                                </div>
                            </td>
                        </tr>
                        <tr class="product_btns_append">
                            <td>
                                <table cellpadding="0" cellspacing="0" border="0" width="550">
                                    <tr>
                                        <td colspan="3">
                                            <ul class="Product_tg_ul">
                                                <li class="product_btns_shop" style="margin-right: 10px;">
                                                    <%<hi:addcartbutton runat="server" id="btnaddgouwu"><img src="http://image.juseshop.com/images/sub/fmll_btn_11.jpg" /></hi:addcartbutton>%>
                                                </li>
                                                <li class="product_btns_buy">
                                                    <%<hi:buybutton runat="server" id="btnBuy"><img src="http://image.juseshop.com/images/sub/fmll_btn_13.jpg" /></hi:buybutton>%>
                                                </li>
                                                <li class="product_btns_coll" style="display: none;">
                                                    <%<hi:common_viewproduct_favorite runat="server"><img src="http://image.juseshop.com/images/sub/sf_shoucang.jpg" /></hi:common_viewproduct_favorite>%>
                                                </li>
                                            </ul>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr class="product_recommend" style="display: none;">
                            <td>
                                <table cellpadding="0" cellspacing="0" border="0" width="550">
                                    <tr>
                                        <td width="170" class="product_re_blog">
                                            <%<hi:common_viewproduct_blog text="在Blog上展示这件商品" runat="server" />%>
                                        </td>
                                        <td width="400" class="product_re_friend"><%<hi:common_viewproduct_commend text="向朋友推荐" runat="server" />%></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>

                        <tr>
                            <td class="product_share">
                                <h2 style="float: left; margin-top: 2px;">分享：</h2>
                                <div class="jiathis_style">
                                    <a class="jiathis_button_qzone"></a><a class="jiathis_button_tsina"></a><a class="jiathis_button_tqq"></a><a class="jiathis_button_renren"></a><a class="jiathis_button_kaixin001"></a>
                                    <a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis"
                                       target="_blank"></a><a class="jiathis_counter_style"></a>
                                </div>
                                <script type="text/javascript" src="http://v3.jiathis.com/code/jia.js?uid=1350294149446525"
                                        charset="utf-8"></script>
                            </td>
                        </tr>
                        <tr class="product_Brief" style="display: none;">
                            <td>
                                <b>简单介绍：</b>
                                <p>
                                    <asp:literal runat="server" id="litShortDescription" />
                                </p>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>


            <script type="text/javascript">
                $(function () {
                    $(".SKURowClass").each(function () {
                        var $this = $(this).find(".SKUValueClass:first");
                        if ($this.length > 0) SelectSkus($this[0]);
                    });
                });
                //$(window).scroll(
                //function () {
                //    var scroll_nav_index = $('#com_b').offset().top;
                //    var scrollTop = document.documentElement.scrollTop || document.body.scrollTop;
                //    var width = screen.width;
                //    if (scrollTop >= scroll_nav_index) {
                //        $('#detail_status').addClass('detail-nav-list_on');
                //        if ($('.d_a_ys').parent().hasClass('on')) {
                //            $('.li_menu').show();
                //        } else {
                //            $('.li_menu').hide();
                //        }
                //    } else {
                //        $('.li_menu').hide();
                //        $('#detail_status').removeClass('detail-nav-list_on');
                //    }
                //})
                $(function () {
                    var scroll_nav_index = $('.product_nav_wrap').offset().top;  //该div距离页面顶部的高度 offset意思是距离左边和顶部的长度
                    $(window).scroll(function () {
                        var scrollTop = document.documentElement.scrollTop || document.body.scrollTop; //滚动页面之后 上面看不到的高度
                        if (scrollTop >= scroll_nav_index) {
                            $('.product_nav_wrap').css({
                                "position": "fixed",
                                "top": "0px"
                            });
                            $('.product_nav_wrap li#ljgm').css("display", "block");
                        }
                        else {
                            $('.product_nav_wrap').css({
                                "position": "",
                                "top": ""
                            });

                            $('.product_nav_wrap li#ljgm').css("display", "none");
                        }
                    });
                });
            </script>


            <div class="product_detail">
                <div id="float"></div>
                <ul class="product_nav_wrap">
                    <li class="curr"><a>商品详请</a></li>
                    <li><a href="">商品评价</a></li>
                    <li><a href="#float">成交记录</a></li>
                    <li><a href="#float">商品咨询</a></li>
                    <li id="ljgm"><a href="javascript:AddCurrentProductToCart();">立即购买</a></li>
                </ul>

                <div class="product_mc">
                    <div style="overflow: hidden; height: auto">
                        <ul>
                            <%
                            <hi:themedtemplatedrepeater id="rptExpandAttributes" runat="server" templatefile="/ascx/tags/Common_ViewProduct/Skin-ExpandAttributes.ascx" />%>
                        </ul>
                    </div>
                    <div style="height: auto; overflow: hidden;"><%<asp:literal id="litDescription" runat="server" />%></div>
                </div>

                <div class="product_mc" style="display: none">
                    <ul>
                        <%
                        <hi:common_productreview runat="server" templatefile="/ascx/tags/Common_ViewProduct/Skin-Common_ProductReview.ascx" maxnum="5" />%>
                    </ul>
                    <div class="details_plzx">
                        <span class="colorF"><%<asp:hyperlink id="hpkProductReviews" runat="server" cssclass="Product_b" />%></span>
                        <%<hi:common_viewproduct_review runat="server" cssclass="Product_a" />%>
                    </div>
                </div>

                <div class="product_mc" style="display: none">
                    <%<hi:common_productsales runat="server" />%>
                    <div class="details_plzx">
                        <span class="colorF"><%<asp:hyperlink id="hpkProductSales" runat="server" cssclass="Product_b" />%></span>
                    </div>
                </div>

                <div class="product_mc" style="display: none">
                    <!--商品咨询-->
                    <%<hi:common_productconsultations runat="server" templatefile="/ascx/tags/Common_ViewProduct/Skin-Common_ProductConsultations.ascx" maxnum="5" />%>
                    <div class="details_plzx">
                        <span class="colorF"><%<asp:hyperlink id="hpkProductConsultations" runat="server" cssclass="Product_b" />%></span>
                        <%<hi:common_viewproduct_consultation runat="server" cssclass="Product_a" />%>
                    </div>
                </div>
            </div>

            <!-- 相关商品-->
            <div class="product_related">
                <h2><b>相关商品</b></h2>
                <ul>
                    <!--相关商品-->

                </ul>
            </div>

        </div>
    </div>


    <script type="text/javascript">
        $(".product_nav_wrap li:not(#ljgm)").click(function () {
            var li_index = $(".product_nav_wrap li").index(this);
            $(".product_mc").hide().eq(li_index).show();
            $(this).addClass("curr").siblings().removeClass("curr");
        });

        $(function () {
            $(".wnxd_cat_list").find(".wnxd_fenlei").eq(6).css('display', 'none');
            $(".wnxd_cat_list").find(".wnxd_fenlei").eq(4).css('display', 'none')
            alert(1);
            $(".home").next().next().next().next().next().css('display', 'none');
            $(".disnone").next().next().next().next().css('display', 'none');
        })
    </script>
    <script src="http://res.juseshop.com/utility/product.helper.js" type="text/javascript"></script>
    <div class="clearboth"></div>


</div>

<%<hi:common_footer runat="server" />%>
